#include"vector.h"


void print(const refrain::vector<int>& v)
{
	for (auto& x : v)
	{
		cout << x << " ";
	}
	cout << endl;
}

int main()
{
	refrain::vector<int> v;
	v.push_back(1);
	v.push_back(2);
	v.push_back(3);
	v.push_back(4);
	v.push_back(5);

	print(v);
	v.insert(v.begin() + 2, 10);
	print(v);
	v.resize(10, 8);
	print(v);
	v.resize(3);
	print(v);

	return 0;
}